Implementation of the Topical Affinity Propogation method for measuring social influence in networks