add distance calculation for hex