Wrapping in the pmf format from think bayes