Factored out the invertWeight logic from ProbabilityDistribution so I have it availabile outside of probabily distribution.
Factored out the invertWeight logic from ProbabilityDistribution so I have it availabile outside of probabily distribution.

jkomoros/sudoku,jkomoros/sudoku,jkomoros/sudoku