Statistics for Fusion of magnetic and WiFi fingerprints for indoor positioning