Error detection, quality improvement of positioning algorithm.

This fits to the topic today :D
Merge branch 'master' of https://github.com/Streamstormer/PanicSim