Mitigating effects of NLOS propagation in MDS-based localization with anchors