Calculate the Hypotenuse of a triangle