move nurbs code out
better knots