added basic split
added more convenience stuff
fixed bug caused by using dim instead of deg
copy knots and fixed a bug with float comparison