-Fixed all errors in tupfunc.bi