B-Spline B-Spline implementation on Python TODO 2D curve 3D curve 3D surface Python2 compatibility FIX 0-degree surface