Calculating the probability of the complement