Generalized accumulation grey model and its optimal algorithm