defaultNumberTo = function(i, num) {
            return typeof i === "number" ? i : num;
          }
@class Progresses the wave and updates the result value. You must NEVER call the
update() method on the 2 modulating wave since this is handled
automatically by this method.
@augments AbstractWave
@member toxi
@see toxi.math.waves.AbstractWave#update()