added BMI binding for matlab