fixed a bug in selffit with indexing, causing the centroid for halos to be wrong