change to conjugate gradient optimization of local potential