integral of curvature along a curve taken with respect to arc length