Cubic spline detail on chapter 2