Affine analysis for quantitative PCR measurements