calculate macro using bmi