Tiny tiny tiny bug fix in really simple math. Math HARD!
Bit of refactoring and renaming to get started.