Made inconsequentail changes to wave generator example (Necissary commit to merge)