fixes the update to leap_prob

This run with the value of beta being set to