A simple and flexible matrix library based on std::vector