Added InputExtent and OutputExtent.

Suggested by TomyLobo