Text this: A method for estimating three-phase flow functions /