Bug fix for the multi-layer energy budget in the case where jnlvls eq 1. Also, a new subroutine has partially been contructed in relation to ticket #344.