Corrected typo in matrixbase.hpp and added matrixbase_test.cpp