Combined chisq c layer
This makes changes to the C layer, so that the value recorded in the bankchisq variable is not purely bankchisq, but a combination of bankchisq and chisq, which we call combined chisq. It is defined as
(chisq * chisq_norm + bankchisq * bankchisq_norm) / (chisq_norm + bankchisq_norm)