a simple library for matrix math in C/C++