renamed compute_statistics.cpp to preprocess.cpp, extended it with options and stuff