This also caches a wall's length to avoid taking the square root every single time for a slope calculation.