Regret not using refactor
Further regret not using refactor
Consolidate test constants.
Grok affine transform maths.
Continue cleanup and decrease coupling.