Changed the vector comparison to depend on error per sample, not absolute error.