Updated ErrorMatrixDecider to work with new method and made it the
default. Fixed a method in MathUtils.