Added checks if mutation rate is a valid probability

(in log_prob_thred.
return -inf for all values where it's not)
Resolved merge conflict