Fixed triangleCentroid.
Merge branch 'origin/master'