Added functions to clear calibration registers