fix error in test_centroid.py +from mainCentroid_trial import *, delete unnecesary return function