Add a function to smooth the data.