get_em_vec function

convert a list of im objects to a vector