Update transMatrix.py