Fix geometric mean

Fix #2