Now output the distance tables too, so that we have access to them.