Refactored thresholding to reflect code changes
Merge pull request #36 from biometrics/thresholding

Refactored thresholding to reflect code changes