Added a KL divergence PMF approach

I gave a pass at computing a trial function with minimum KL divergence from the empirical distribution.  Doesn't look quite as good as I expected, so there could potentially be some issues here.