Primecoin: Fix the scaling of the probability estimate in terms of the round primorial.
More accurate estimate for the average hash.
Calculate the actual fixed multiplier and take a log of that instead of using the estimate log(q#) = q.

Ported from my high performance tree.