Functions Generator

fyi:
http://forum.arduino.cc/index.php?topic=220918.msg1716935#msg1716935