calculates chisq only for active components