[Change] Big revision for Analyze selection, cleaning and sampling #02

Signed-off-by: Oleg Komarov <o.komarov11@imperial.ac.uk>