Update Spectral.h

Varibles are declared and certain lines are replaced.