equals should work for matrices