WaNuLCAS: a model of water nutrient and light capture in agroforestry systems