This routine computes the Error function, erf(x).
function erf extends Modelica.Icons.Function; input Real x; output Real y; end erf;