Added MakeMaterials and PlotAtoms functions