Removed spurious uses of parseInt

This fixes the max chain reward calculation for large values (fixes #83)
Merge pull request #112 from super-aardvark/parseInt-fix

Removed spurious uses of parseInt