Add separate package for the matrix representation