Added debug print statements to calibrator