Moved matrix.py to module dir