much more precise now
works like a charm now
added comment
using new threasholding function
cleared out some unused code
stop being silly
code style follows original
Merge branch 'upgrades'