Added Acos. Added automatic evaluation of Cos(n/2*pi)