Mathematical Modeling of Extended Interface During Gravity Drainage With Application to CO2 Sequestration