writing a new TeX document describing the math behind the CC pre-processing algorithm