gives you the hypotenuse of a right triangle