Fixed bugs in region_mod and added timing for each step in spectral_regions