7. trimf centroids were being calculated wrongly