Minor changes

Program working for some values of sensor to be calibrated