Allocation of energy to maintenance and growth is now a separate function. So messy!! Also, currently enters an infinite loop when re-running diet selection with lowered max intake if protein is insufficient.