Add density to SparseVector.random()