Fix typos.

This fixes a few typos in the comments:
* an -> any
* approprate -> appropriate
* postition -> position