bugfix in integrate2d for wrong mask calculation
Merge pull request #77 from gbenecke/patch-1

bugfix in integrate2d for wrong mask calculation