round_probability function

Probability rounding