code: def acquisition_function_withGradients(self, x):
          
          aqu_x      = self.acquisition_function(x)
          aqu_x_grad = self.d_acquisition_function(x)
          return aqu_x, aqu_x_grad
docs: Returns the acquisition function and its its gradient at x.