added read_calibration function and data