An academic implementation of matrix math using C++ STL