Add Euclidian distance. Use (1-gaussian profile) as test.

The (1-gaussian profile) simulates a very rudimentary spectral
line.