Computation of the Morse Spectrum