Mne resolution

revamped #1358

still needs tests
use of broadcasting cf. bsxfun in matlab