Changed input to varargin, added function to parse. All arguments are
now optional *positional* arguments.