I fixed the trig!

Probably some other stuff too