Added Histogram and Statistics Extraction