add some expainations for the matrix definition