The Calculus of Influence