reverse_vector function

Reverse atomic vector