matrix trace in python
matrix trace in python