Bug fixed, shift vector

Shift vector with wrong sign in computation and visualization.