fixed the argument checking
Merge branch 'master' of https://github.com/vistalab/vistasoft