Fixed the double precision issue
Merge pull request #9 from jonathanostinowsky/moreSmallFixes

Fixed the double precision issue