Added get_args function for gendists
Added gendist_create and get_args functions and changed other gendist_funcs accordingly