Debug and cleanup.
Start implementing curvature computation.
Work on curvature.