added better uniform evaluation of the spline