.cpp file of implementing matrix operations, declared in matrix.h.