Added Debug GUI.

* Added a debug gui using DatGui, that offers some parameters.
Additional refactoring.
Improving sizing and traversal.
Vector Array Refactor.

* Refactored project to use vector arrays.
* Expanded names of config vars, to get better UI options.
* Couple of uses of the old variables, which now use the config version, fixes some misalignment issues.
Fix for reference vector bugs.

* Bug caused by multiplying in place a reference vector.
* Pulled an vector operation out of a loop.
* Deleted old code.