Direction vector for \pi generation
\pi calculation in CUDA+Thrust