adding some trig functions to txt2num