Generating a dense matrix from a sparse matrix in numpy python Generating a dense matrix from a sparse matrix in numpy python arrays arrays