Changed to generate png histograms instead of jpg.

Changed to generate png histograms instead of jpg.
Can now generate transparent background histogram.
Also stores histogram data as an array for future update to use
javascript graphing to generate a histogram.