Added new functions to Spectrum.rb, updated files accordingly