Added test waveshape and updated main and Makefile.