Merge pull request #1 from tdhsmith/master

Fix rounding issue
Merge pull request #1 from chrisdavies/master

Merge pull request #1 from tdhsmith/master