Fixes spline in util.h