Gravar-mail: BLE Fingerprint Indoor Localization Algorithm Based on Eight-Neighborhood Template Matching