FIXED MISTAKE in _main involving chi_param