Added a validator for probabilities and fixed the sites parameter