Modify failing cwise test to get it to pass.
Random integer matrix squaring leads to a lot of signed int overflows,
which doesn't satisfy m * m >= 0. Modified the test to use .abs().
Random integer matrix squaring leads to a lot of signed int overflows,
which doesn't satisfy m * m >= 0. Modified the test to use .abs().