Fully functional Matrix class added