Added a curvature parameter to region_3d. This parameter characterizes the mean curvature of the 3D region.