undo_cal function

Undo calibrations steps