Compositional Modeling of Two-Phase Flow in Porous Media Using Semi-Implicit Scheme