improved iBeacon based localization