A simple C++ matrix class with standard operations