Fix argument list to match variables.
Merge pull request #104 from gonuke/fix_statpy

Implementing fix for bug found by @kbroman