Fix sign error in the first spline derivative

The sign in front of the _y2[khi] was wrong. This fixes it. Closes  #3426.