Update README.md

fixed bug in python centroid code