Starting fix B-Spline function
Fixed CPU path