buneman algorithm for solving 2D PDEs