minor bug fixes

Added energy halving
Corrected the direction that dx points in PotentialBondGPU.cuh