Rotation, translation and zooming working with the new X.matrix and X.vector classes.

Some errors during rotations still exist which result in undefined behavior.