Measuring frequency domain granger causality for multiple blocks of interacting time series