adding source code for camera calibration : cpp