Removed errlist: useless; Added Maxmium percent error threshold