Removed obsolete gen_wavef