OUT-OF-KILTER ALGORITHM AND ITS APPLICATIONS IN MINING ENGINEERING.