Further templating of BSplineCurve