A Robust Model-Based Approach to Indoor Positioning Using Signal Strength