speed up library computation
revert loop order. loop over filter in the core loop as redshift and resample are common to all filters. (only depend on sed and z)
revert loop order. loop over filter in the core loop as redshift and resample are common to all filters. (only depend on sed and z)