modify mainCentroid.py, delete unwanted syntax error