added euclidean distance and weighted norm (and next TODO in Interface