Added elliptical rotation capabilities to rotatePoint