Matrix comparison added