Turn function arguments into an array -- form http://stackoverflow.com/a/960870/129698