<Compute curvature>