Error function and Distribution function helpers added.