cm-matrices-pdf