A Generalized Model for Predicting Yarn Global Quality Index