Improved Logic around checking for identical matrices, but it's not quite there yet overall