find legs from hypotenuse | ScratchStats