few days before become i public S2 emu this year was publish on net S2 source code whith complete keys and Tabeles in C++. And on the end S2 calculation is not so simple as S1 have few calculation "levels" and 2 different "sys" included S1 & RSA + soeme other additions.I'm shure that you
will find this data on net .
regards