added new code for time prediction (updated cropping and confidence intervals
pnas paper edits