Added shared memory reduce_sum operation in PiEstimatorKernel