Fix origin and extent calculation in setup_dem.

Necessary since alingOnly option to projectRaster didn't seem to be working.