Topographic variability and the influence of soil erosion on the carbon cycle