fix the order of parameters as in the order they are documented in the code
Merge pull request #8 from fruch/master

fix the order of parameters as in the order they are documented in the code