Implement curve normalized ksplines fit.