Pre-processing works fine now. It can output one frequency for following search, and correct sampling error(thus k_factor can be set to 1 in following modules)