several changes (fix and hopefully no new bug)

Several changes
- merging with Giulia's work
- fix for Id and preselection
- turnon code added
- code for isolation weights added
- ... something else...

Still to be done: 
- preselection fix in T&P ntuples