calibration comments and homography code