Contains code for the detect.MIMIC algorithm.