Indoor Localization Based on Magnetic Anomalies and Pedestrian Dead Reckoning