Processing the data - part 1

Added code to extract columns ending with mean() or std()
Bug fix