An introduction to spectral distances in networks