Nonlinear consensus algorithms with uncertain couplings