2-D heat diffusion problem as described above