Description of how new distance calculation works

Those documents do an attempt to describe the ideas behind the new distance calculations.