format the code;
debug the matrix.cc