bmi objective-c