conjugate gradient method self.minimize added