removing old matrix.py