changes to: allow passing of NULL or NA as non-character; fixes to sampling functions to allow for NULL; changes to cases so the example will run with run_ss3sim