Simplify square root of a^2+b^2