Added dense matrix.