Flexible Indoor Localization and Tracking Based on a Wearable Platform and Sensor Data Fusion