SparseMatrix with coordinate index added