fixed a bug where the pressure tensor wouldn't update for atoms in the switching region when # of atoms in a group = 1