adding in pi calculation