finallyy the correct matrix.