Changed NbodyHistogram struct to prevent errors while creating the histogram