VX(Li): Add the matrix and its unit tests.