Correct position checks in scalar mode
Added debugging checks to verify that the particles are in the correct frame after the shift in DOPAIR1 and DOPAIR2. The check takes into account directions and drift since last rebuild.
@jwillis: Can I let you implement the same thresholds in the vectorized version and test in on EAGLE12 and EAGLE25 ?