Implement allclose matrix comparison.