added functions for uniform bsplines (nik.gp)