Changed something in Histogram.cpp now it definetly works.