Calculation of K and delta-G