Task 2: Smoothing the Slope