bug-fix for region tool; fixes unit tests 1-3, 5
bug-fix for region tool; fixes unit tests 1-3, 5

bw2/gemini,bw2/gemini,bpow/gemini,arq5x/gemini,udp3f/gemini,bpow/gemini,brentp/gemini,bgruening/gemini,arq5x/gemini,udp3f/gemini,xuzetan/gemini,brentp/gemini,bgruening/gemini,brentp/gemini,heuermh/gemini,bw2/gemini,bpow/gemini,xuzetan/gemini,bgruening/gemini,bgruening/gemini,heuermh/gemini,xuzetan/gemini,arq5x/gemini,xuzetan/gemini,brentp/gemini,arq5x/gemini,heuermh/gemini,bpow/gemini,udp3f/gemini,bw2/gemini,udp3f/gemini,heuermh/gemini