Added calibration option, using raw IR readings.