The Fourth Way: Granger Causality is better than the three other Reverse-engineering Approaches
It includes a Matlab interface on calculating the causality of Fig 1a and Fig 1b in the paper.
The reference  which has been submitted and is included here.
There is another related paper on DCM (dynamical causal model) and GCM (Granger causal model) which we are working on, but has nor finished yet. We also include it here for your reference.