This function takes as input a csv file containing a time
column and data columns and returns the position of the end tidals for
each data column maximazing the syncronization between data. This function
was originally devised for the analysis of the end tidals coming from
exhaled breath analyzed through SIFT-MS technology