Get the trace of the matrix (sum of the values along the diagonal)
late final WF1<double> MatrixTrace;