Calculates Error function for real and complex numbers.
`\text{erf}(z) = 2/sqrt(pi)\int_0^{z}e^(-t^2) \ dt`
Special functions