Added some missing trig implementations.