Text this: Novel Gain-Optimized Two-Step Fusion Filtering Method for Ranging-Based Localization Using Predicted Residuals