fix spin multiplicity checking bug with ghost atoms
Merge remote-tracking branch 'origin/master'
Automated merge for py3k testing