90% Finished, just Histogram not workin correctly