Added code to handle manual rotations and zooming. Lots of issues, but will work once rotations are correct. Need rotate about axis.