tweaks to initialize_nr_hessian so that initial probes of cv function
for continuous variables do not go out of range.