clean up examples
formatting
allow reltol and abstol
prep for upload