sensor signal smoothing