update docstrings for mass fraction and charge