Modified lbpgenerator code to write histogram and normalized histogram data into respective CSV files.