Commented curvature computation