The Doctrine of Chances: Or a Method of Calculating the Probability of Events in Play