Calculate hypotenuse of a right-triangle