fix bug with hardcoded names in classify_SED
return slope from CMD classification
change definition when to throw out lightcurves to be consistent with Luisa