Updated rotate

Added code for when rotationPos == 1