Undersampling Raster Scans in Spectromicroscopy for reduced dose and faster measurements