Adding distance calculations to retrieve warehouses within range.