basic RotateCoords functionality