Function to calculate Win Probabilities and corresponding confidence intervals