conjugate gradient for poisson equation