Improvement of the algorithm for points rejection solving the problem of mutual orientation on the computer