Reformatted SegmentBySegment.py

Created main() and parse_args() functions. Changed documentation to
docstrings and removed warnings from static analysis. See change history
for version 0.34.
Tested by comparing output files with the previous script. Was the same
except of time stamps and outputpaths.
Removed option twiss from getsuper.py

For details see issue #15