Tools to Fit Flexible Parametric Curves