Convert calibration to multiprocessing