Warning: this is an attempt to rework on some formulas I wrote on a piece of paper in 2008. It is not yet working, I need time to check why.