fixed the influence method for if a group didn't have any students to influence