Transport of Heavy Metals and Phosphate in Heterogeneous Soils