Now the mask for distance is applied on the geodesic initial distance (i.e. without trains)
Merge branch 'master' into spearman