improved track scoring and distinctiveness algorithm