Done with ErrorRateFunction, test it on MDA Model. Will update MDAModelTest with comments later