Calculate Hypotenuse Length