added outlier detection from the paper
needs cleaning up; some things arent working right