fixes memory leaks present in CatmullClark due to polylines not being properly handles
Partially implemented Hermite splines, still fairly broken, not sure why.