fixes for adjustBiomass() method in ModelTemplate