fixed really odd a(sin|cos|tan) glitch