* correct spelling everywhere: "euclidean"
* you should probably use case-insensitive comparison in `if`-statements, e.g. "Euclidean" would be common because it's a name (case-insensitive comparison is standard in vigranumpy).