bug in trajectory.restrict_atoms

bugfix in trajectory.restrict_atoms where the array was not being stored in memory correctly, and so when the trajectory was centered in c-land it was not centered correctly.