James D. Callahan III:
	- Fixed math upvalue.
	- Preliminary (and extremely painful) cleanup and refactoring.
Adavak:
	- typo
