version 1.1
- added check to discoveries and localtest in case of empty selection
- added check to discoveries and localtest in case of invalid selection
- fixed bug with category=0 if h=0