added code to calculate mass fraction enriched to different metallicities and the code to plot them