Updated FastCentroid to not return 0