Calculates π to arbitrary precision using Machin's Formula.