path fractions code update and start of mass fractions revision