Bugs fixed in b_spline_aproximation.