rewrite erf.mo to use modelica language instead of calling an external c-function.