Added Rotate2D class