PRESSURE DISTRIBUTION IN A LAYERED RESERVOIR WITH GAS-CAP AND BOTTOM WATER