A Weighted Algorithm Based on Physical Distance and Cosine Similarity for Indoor Localization | IEEE Conference Publication | IEEE Xplore