sm function

Generate a reparameterized P-spline base