initial solutions to mat.py

Matrix Class