C++ library to manipulate matrices and vectors