creates feature that estimates data in sub-intervals
adds function to calculate multiple intervals

script to add path in to root directory
calculates all possible intervals and sources from all files in data dir

all files in data/*.csv are used as data source and are presumed to
have the following columns: time, n, index
adds information on best fit for each data
renames function to avoid very similar names
adjusts logisticsa model