Calculates a user's body mass index