update g

based on consensus definition of the communication matrix