Combined spectrum_ss and spectrum_pi functions into spectrum function with *solver* input string