Fixed calculation for diet