Public interface for functions that calculate a matrix trace.
Calculates the trace of a general complex matrix.
Matrix [n×m]
r = Tr(A)