Rotation and derotation made to work (for 90 degrees)
Unneccessary bits of stuff taken out
Various changes, including simplification of recentre capability.