the Kolmogorov–Smirnov test returns the maximum distance between two
gaussian functions and it's position.