Calculate Hypotenuse of a Triangle