Added smoothing function for temperature sensor