bugfixes

nurbscurve n() calculation fixes