move parse_stan_params to package