Calculations for making buffer solutions