added possible uses of nCentBins
corrected bug in filling h26 and h27 histograms + cosmetics
change for to while where possible; reuse pointers