refactored segy routines
determine preprocessing settings through class constructor rather than through global parameters
refactored solver.specfem2d, solver.specfem3d
revised some comments in solver.specfem*