Heat equation debug