Updated a few trig functions to use the std:: implementations.
Minor compiler warning fix.