Pythagoras - finding the hypotenuse