Conservative trig functions

Fixes issue #20 and related issues.

I have doctests that test this, but they also test everything else (#4), and I didn't want to send up one pull request that was so huge.

See if you think that this approach can be modified to work for empty/kaucher intervals or whether you want to go a different way to address #20.