Rotates CCD by integer multiples of 90 degrees.
rotations kwarg is number of counter-clockwise rotations
Author: Dave jones
Contents: