Source: https://le-castillon.etab.ac-caen.fr/IMG/pdf/Distance_de_deux_points_dans_un_repere_orthonormal.pdf