Very nice. It's easy to do when you have all the resources you need. I also made do with what I had, but I will assume yours are more accurate. Still, what is the meaning of formulas 139, 140, 141? You have commented them out, and I couldn't figure them out by giving values either.
Mine are not "more accurate", mine are exactly what VAG uses internally, dumped from their own tables.
139-141 are commented because they are probably almost never used in reality, and the translation is... annoying to say the least.
There's lookuptables and then calculations using those lookup tables.
Because I didn't see any ECU's use them I didn't bother.
If you want to implement them you will need to dump the iDEX data and test.