Implemented wave types

Implemented all four wave types (sine, square, sawtooth, and triangle)
in paCallback function