added a function that filters regions
Merge branch 'master' of https://github.com/PatronBernard/BM_CUDA