Fix major bug where infection probabilities were not being evaluated correctly agaisnt unif(0,1)