How to set two point calibration formula?