Remvoed flex, which resulted in graphing stuff being disabled.
General code tidying.  Replacing relevent code with helpers like NormaliseAngle, LINQ, etc.  Replaced convoluted Arctan code with Atan2 (I love modern programming languages).
Starting upgrading from floats to doubles.
Started removing some magic numbers.
Made Vectors immutable structures.