geometric mean value of the proportionate individual (javascript)