Started porting the camera calibration functions.