Added calibration

Added setCalibration for calibration in C