\mathbf{C}_M = \begin{pmatrix} 1 &amp; -x &amp; xz-y \\ 0 &amp;1 &amp;-z \\ 0 &amp; 0 &amp; 1 \end{pmatrix}