carbonate analysis