Correct the use of rshift to reduce the number of distance calculations.
Applies rshift
(boundary conditions) correctly in DOPAIR1
+ DOPAIR2
to reduce the number of spurious distance calculations.
Applies rshift
(boundary conditions) correctly in DOPAIR1
+ DOPAIR2
to reduce the number of spurious distance calculations.