Derivative of the covariance matrix with respect to X

def gradients_X(self, dL_dK, X, X2):
        """Derivative of the covariance matrix with respect to X"""
        return self._comp_grads(dL_dK, X, X2)[3]