Adjusted numElements and vectorAdd kernel