Matlab: Variable-length input argument (varargin) list checking.