mpspline_datchk function

pre-spline data checks