Made changes to the filterPeaks mehtod and the mimic's variables.