C++ Matrix data structure.