Fixed log probabilities and now code works for 300 rolls dice problem