Rotate solutions

Rotate was solved using MATLAB by 3 contestants. Solution sizes: average 4530 bytes (shortest: 1563; longest: 8368).