fixed reading external models for SH simulations
fixed reading adjoint traces for SH simulations
work around integer overflow problem when writing Seismic Unix output