Complex: Improved the equals method by using the Euclidean distance
instead of the absolute distance in both real and imaginary parts.