fixed calculations for nutritional needs