Handle special case in atanh2(x,y) when y = 0.
This fixes matrix_power unit test on clang.
Relax tolerances in matrix_power tests to avoid intermittent failures.