Text this: A new methodology for grouping and averaging capillary pressure curves for reservoir models