Optional Input Matlab Function Example