A simple matrix algebra library