Implemented influence calculations.