added IR distance calculation

needs to be calibrated