Trace for tt-matrix added