Multiphase Migration Of Organic Compounds In A Porous Medium: A Mathematical Model