Compute approximation error, add command line.
Documentation