Round results when rotating to minimize errors & pass the tests
clean use XXX
Merge pull request #1435 from jluis/master

Round results when rotating to minimize errors & pass the tests