get_exit_type function

Get exit type (from a vector x of FFT exit descriptions)