Computations of Wall Distances Based on Differential Equations