Added simple smoothing filter.