Matrix class in file objects.py