Fitting splines to a parametric function. (2019)