added adaptiveThreshold
fix tabbing
Merge pull request #113 from morganrallen/adaptiveThreshold

Adaptive threshold