Updated euclidean to work with difference and norm, updated Generic implementation. working now.