extract_shuffle_params function

Extract relevant parameters from a generic shuffle function output