THE DEVELOPMENT OF PSEUDO FUNCTIONS FOR THREE PHASE BLACK OIL SIMULATORS