mte_to_mat
mte_to_mat(dead_enode)->next = NULL;
mte_to_mat(mat->tail)->next = dead_enode;
next = mte_to_mat(mat->head)->next;