PMF.get_mean function

Get the mean of the distribution from a PMF object