Remove all constraints for __match_theoretical_test and have proper chi-square calculation.

It might not seem very clear, but what I've done is to no longer ensure that the diameter of the coin must be less than the gap, etc. so that the probability may reach 1.0.
Remove unnecessary testing code.