Started implementing the predicted outcome algorithm