Distance error of several algorithms, with the proposed algorithm performing the best.