Clobber compiler warnings.
Commit the new three-equation model code.

This code is not in use yet.
Add the missing 1/2. See #244 and bdcd98a.