GPU program to calculate PI