Adjust matrix.py for use of vector.py as subclass; Adjust vector.py and matrix.py to match test_serial.py