Finished basic matrix and vector operations