Use X87 intrinsics for tan when available
Improved the header for tan and added a contract
Added a contract for cosine
Update arctan to use the X87 fp instrinsics when available