Add function to set spin multiplicity of an atom