example workflow program using the heat equations, with LaTeX and gnuplot outputs
some tweaks to try to deal with floating point issues