calcNormFactors with design and other parameters for multiple groups.