Decades of math lie behind your Google Maps search for the closest Walmart ...