Added comments to the dataAnalysis file to reflect the current behaviour of the code.