Fix trigcf

This branch allows CF approximations for trigonometric functions. Some tests have also been added.