Previous version of ppNorm doesn't fit in to the (now better understood) detrend workflow. Splitting it out into ppNormCalc and ppNormApply. This is the first installment, with ppNormCalc.