corrected the value of pi