issue #624 - fix to Otsu with NaNs courtesy of Max Konig, removed range restrictions for threshold cutoffs, added tests for entropy, otsu3 and entropy3