Syntax correction on Euclidian similarity calculation.