Added comments, introduced flexibility for interpolating the model seds, CL and variance components differently.
made changes to use the helper functions