Finished basic vector and matrix classes