Added exception handling for NEB optimizer

The optimization would crash if an error occurred.
Captures ValueErrors, where mopac may return a very
large number as '*****' or IOError where a file is
requested before it has been saved locally.