modify mainCentroid, change masking into defining row-column of intensities
update mainCentroid
modify mainCentroid.py