added save calibration to file