BUG: handle case where sd == 0
PERF: deal more elegantly with degenerate atlas regions
PERF: deal more elegantly with atlas masks in background
PERF: deal more elegantly with atlas masks in background
DOC: make defaults clearer