improve accuracy of PI and EI using erfc