#1810 fixed bug in tree interpreter for psi function, extended IL emitting interpreter to handle the new special functions.