BER-based Multipath Fading Effect Mitigation Technique for Indoor Localization