Fixed BMI calculation bug