Cosmit: move code around
MISC: refactor to remove code duplication
ENH: masking strategy for homogeneous background
ENH: better error message
ENH: integrate background mask heuristic
Integrate better new masking strategy
ENH: add slight smoothing to EPI mask extraction
Merge pull request #161 from GaelVaroquaux/background_mask

New masking strategy: Background mask