initialize Params properly in constructor.
Merge pull request #307 from glycerine/master

fix for issue 304