A Computational Model of Counterfactual Thinkin: The Temporal Order Effect