Switched to generator syntax in the SEGYTraceHeader slice handling. Should give essentially the same result, but be more efficient in loops.