NAN ROI fix
Merge pull request #218 from ChrisBeaumont/nan_roi

Fix for testing whether NANs are inside an ROI (they aren't)