Handling Zeros in Geometric Mean Calculation