Calculating PI.