Adding control analysis

After discussion with the Lyon group
Also added the binary to compute PDF weights