Intelligent average of data set of numbers calculating variance and discarding the the farthest values