BUG: getMask now works arbitrary dim; updating phantom study