Added Calibration functions with interface GUI <-> rest.