https://5dok.net/document/9ynxnv1q-hebbian-learning-approaches-general-products-distance-measures-euclidean.html