Created MathUtils, and corrected ErrorKernelDecider.
Wrote a new, simplified OrderDecider.