Removed ugly calculations for T, N, B. Added curvature calculation.