Calculating macronutrients