Team Functional Programming!
Curvature done