Matrix.cpp finished.