Calculation of pOG (possibly a typo and supposed to be pOH)