added polynomial model to predict_time.R