How to put calculation of BMI