Removed unused methods and added catch for special case in influence coefficient calculation that resulted in infinity.