Function module is better at handling zeros now. Added some very basic
incrementality to function module. Found a simple-ish function example
that is not solved; still working on that.