pmf algs added, tested.  Trick: Take a last pull when calc ends.