Modify the formula to convert the ir sensor voltage input value to distance as the formula used is for the sensor 10 to 80cm range when the sensor used is the 4 to 30 cm.