Update Matrix.cpp