fix correction for zero gaussian probs by incorporating mathieus idea for mixing in uniform