Added sine wave example