Fixes rounding errors, github issue #147