Calculation of Buffer Composition