Fixed up the camera orientation code. I really need to create a transformation object for affine transforms.