Gravar-mail: A computational study of whole-brain connectivity in resting state and task fMRI