Create calibrate_v2.m

Added the second version of the calibration code.