checking on the distance calculations - problem appears to be with the discretization and the ol' continuity correction