[915] Fix COS function using same plan as SIN.

The previous COS function failed badly outside of [-pi/2, pi/2].
1 file changed