Update generic/euclidian_distance.lua