added cosIntrpl + cubicIntrpl
added vec3 on spline vertices/points, fixed doubles