Fixed build issues and changed more instances of atoms_per_mol to atoms_per_molecule in material classes and classes calling these classes