bugfixes + nurbs_basis implementations