A generalization of the exponential function to model growth