Add a new parameter, so users can control the amount of smoothing?