Changed version to version 2 and updated date
Added NEWS file
Make examples run in tempdir instead