Added a lot more documentation to gear.h and gear_config.h
Removed globals as a language feature entierly.  Added extra math class (not part of standard language, but provided for others to optionally consume).  The reason for removing globals is because class variables provide the same functionality.