added xml input for csv data, like number of bins and iteration and boolean if to be used. look in input.xml for usage example