Add taste and difference functions.  Implements #2, #4, and #5.