added an averaging filter to the opponent position