Influence implementation via matrix