Gem to calculate BMI