Adds the matrix preview