getWallDist working for all tested cases thus far.