made geo_mean elementwise