A simple vector and matrix library