Incorporated a vector add function on the GPU