Theory and description of the 3D Hi-sAFe agroforestry model