simplify Spergel integrated flux calculator
(#616)