KTPsi function

An implementation of Kontsevich and Tyler Ψ\Psi algorithm.