Adds simple smoothing algorithm