Changed the wave object function to be more realistic.  [Wu86].