Added trig functions