catching errors
added the 'export' keyword
computed NaNs
tests
updated readme
params for rewrite tests