add: euclidian error distance

Signed-off-by: Stephen L. <lrq3000@gmail.com>