Inverse K2j source code