fixed a bug with tangent calculation for centripetal catmull-rom splines