Translated SAS version of BMI calculation