Corrected error, variable undefined
Spectrum sorted.
Spectrum plots (of singletons and doubletons).