Add second invariant #3191
Merge pull request #3192 from pou036/tensor_3191

Add second invariant
Merge commit '510d3dac10120a54afc09c689f76f43386bbc6ae'