Single-Anchor Indoor Localization Using a Switched-Beam Antenna