Changed cumulative flow calc to be list from instead of list to