working using Euclidean distances, splitting real/imag