gcentroid noew ignores nans, infs.