Particle filter theory and practice with positioning applications | Synapse