updated Laplace and Poisson equations routines