Cleanups, Spectral solver.
Cleanups, Fixes spectral solver.