reduceComps function

reduceComps: Reduce the components of the model.