A Generalization of the Weibull Distribution with Applications