Implemented camera calibration