Fixes stuff.
Limits/trig minor corrections.