Using Quartz Core and CATransform3D to conduct 3d rotation of view and image