Added check to GLMdenoise so that mask dimensions and orientation match the data