made sin and cos curves easier to get

I also changed other things.