Cofnod E-bost: Length Distribution of Ancestral Tracks under a General Admixture Model and Its Applications in Population History Inference