Simplified the Matrix class to be just one class and changed any instances of the derived classes to be of this unified class. The derived classes only served to increase complexity without adding functionality.