Calculation of Geometric Mean