Modified improved WilliamHill function