Round results when rotating to minimize errors & pass the tests

this patch solves issue #1427