1D poisson solver verified