added the core files of noncoherent_detector