update gitignore to ignore data files
fix distance calculation

fix incorrect equation, add conversion to centimeters