Adding smoothing function at the end of ScRemoveWaveform filtering window