Finding Similar Matrices Have Same Trace