updated docstring of spline