Multi-phase Biogeochemical Model for Microbially Induced Desaturation and Precipitation