Rewrote MULTICOND.  Fixes #6.