The Beginning of the End: Added a (dummy) variable called lcvar to define local coupling variables. By default it is the first state variable of each model. It's completely wrong of course. I did not update all the models, only where it was straigthforward and until the local coupling is completely functional.The local_coupling variable now represents the dot product of local_connectivity * first_state_variable.
The Beginning of the End (part II): Added one line to move the compute the local coupling term in the simulator instead of the model dfun.