Simulation of Accumulation and Leaching in Soils