removed constructor for dense matrix