Teleology: Anticipation and Necessity