calcGM function

Calculate the Geometric Mean, Allowing for Zeroes