Spline should work, need a fixing of the output though