Click Funzione_distanza_Input.pdf link to view the file.