Added debug statements to the probability comparison