Perform arithmetic operation on n numbers in parallel using Nvidia CUDA