curvature losses