Indoor positioning tracking with magnetic field and improved particle filter