Implement the error-functions
Implement the error-functions