Add basic functions for calculating fluxes.

Also makes the kF program output the kF value it calculates when
determining equilibrium moisture content.