Implement outlier detection for full data set.

Also tweak the algorithm a little after looking at some more results.