Switched u2 to radians and limited theta in sim to -pi to pi
Added plot history function