A Generalized Multiple Durations Proportional Hazard Model With