high-precision positioning algorithm