how to calculate percentage of sparsity for a numpy array/matrix?,np.prod(a.shape)