using stan::common::initialize_state