Changed argument array handling to correct errors.
Merge pull request #3 from stevenmhunt/master

Changed argument array handling to correct errors.