Correct the ts_calibrator.c file.