Zaslat SMS: Classification of the average capillary pressure function and its application in calculating fluid saturation