A general model of nutrient cycling.