Molarity calculation and titration