Seem to have buffering working for reading the file (with current, limited tests)
Still need to integrate buffering with the GPU calculations and make it combine different histograms.