Add pi function and CCP estimates

Testing chebappxf