A functional model of tree growth and tree architecture.