Added options to make some ISIS functions use a DEM
Removed debug code