FirstOrderStatistics: Fixed bug in calcualtion of weigthed centroid