bmi amputation calculation