This MR introduces the possibility to execute a specific block of the PDF sampling approach, making it possible to run the resampling of flavour in parallel (after having retrieved the target distribution).
A bug with the index selection in the chunk-based approach is also fixed and the plotting now makes use of a generator approach. The speed of the loading of data is vastly improved (chunk size optimisation + modified loading). Finally, the importing of matplotlib for the
utils file in preprocessing is modified to also work on a Condor batch system.