add the Error function: Error.cpp for the truncated log-normal function used in future.