add DenseMatrix
create a separated matrix subpackage