Add 2nd derivative option for spline.