findRoot optimization and bugfix

and minor std.math cleanup
1. Switching process between FPU stack and xmm registers is expensive (time)
2. xmm instruction can be optimezed into SIMD xmm or ymm instructions.