updated javadoc for threshold to be more clear as to the behavior of threshold
wrote testMinus and testThreshold
Merge branch 'master' of https://github.com/zogwarg/PGM