fixed calculations on bmi.js