Update spline.c