add getColumnsWithinThreshold() function to pick up columns of which the testing errors are smaller than the threshold