Optional Input Matlab Function With Multiple Outputs