Modified capillary pressure calculation.