Fixing trig methods.