Compare matrix last modification