Fix issue 11

Fixing issue 11: removed temporary files and added ignoring to OS X and Unix style of temporary files -> should not cause problems anymore.