Molecular weight calculator for mobile devices