Simplified the the camera calculations