Merge pull request #1 from tdhsmith/master

Fix rounding issue