Optional Input Matlab Function Format