Dg = \begin{pmatrix} 1 & 2y \\ 2\cos(2x-y) & -\cos(2x-y) \end{pmatrix}