Fixed a bugs in SegmentBySegment.py

See github issue #38
Changed delta_phase to avoid program crashing.
Fixed looking for getphasey_free.out file.
Replaced excepts with except (IOError, ValueError)