Added preprocessor stage that collects stats on dataset before analyzing with probabilistic models