Added bernstein functions to spline algorithms module