candidate fix for confidence_intervals() and copy_params_on_output
avoid divide by 0 messages