Delete matrix