toolbox: Fix floating-point issues
build system: Improve build system
toolbox: Fix random
math: Improve test suite