Multipath mitigation for a phase-based infrared ranging system applied to indoor positioning | Synapse