added a fitness function based on euclidean distance and fourier distance which I defined as the average distance between the biggest components of all the signals in the system