calculate the molarity and alkalinity