added an OSCIL creation and initialization function to the wave library