Create wave_generator.m

Main code for GUI on matlab.