Move hypot to util. Credit JAMA for decompositions.