fixed the bug in validation.py replacing Python 'or' by np.logical_or, d...

...ue to the issue #25

updated tutorial_part1.py with the call to the validation.py for the global_val thresholding