credit assignment: Nonlinear Function