Add ruby code to calc bmi