Clean up and comment code. Fix issue when max value for raster extract is zero. Locate source of failure for ADM3 extract as non-quoted CSV fields with commas (Updated DET to solve issue for future extracts).