Application of KS-transformation in the problem of investigation of the motion of unusual minor planets and comets