Some new routines; small updates to DEM, spectra, and image routines