MatrixElement._diff_wrt = True
Merge pull request #2402 from mrocklin/matrix-symbol-diff

MatrixElement._diff_wrt = True