Version runs correctly, though the CDEM edge input image might not be the latest and best. Recheck inputs
Added collection of Linux shell scripts and R scripts that I used in my initial analysis of SRTM/CGIAR, CDEM, and ASTER GDEM digital terrain data sets.