Implemented correct rounding of coordinates