bugfix in integrate2d for wrong mask calculation

Hi Jerome,

I found a bug in integrate2d when using a mask and azimuth_range. That will cause masking all pixels and leads to empty image data and finally an exception.

Best,
Gunthard