Sparse matrix support in place
Improved dense matrix upload