analog data smoothing