updated intervals to starts only. finished imputation part and made paral, now only need to sew files together