Updated Matrix class. Removed Vector.