New functions computing the curvature of fibers