Implemented fix that makes rounding work as it should.