add init for uf_avgAbsDelta and uf_avgSquaredDelta in addCentroid and killCentroid