added IR calibration code for 2 sensors at once