added feed_energy to SDDspectrum and small changes