make ftolerance affect comparison in equalfunvals stopping criteria
ftolerance control to mnist example