This currently uses doubles, if the class has been fixed to use int and
I don't have it locally the fix should be quick.
Merge pull request #3 from calebrogers/master

pullit