Refactoring for dFANom_dE.for: one function for all, selecting spectrum type.
Checked - consistent with previous result.