Molar mass calculation working