Added lin algebra and erf