fixed thresholding to deal with negative correlation
Merge branch 'master' of github.com:SeniorDesignProject/Mainline