Average of reading on IR sensor

Thanks Rob, but I'm going to test the simple formula with my MS5611-01BA01 pressure sensor.