started audio. fixed graph directive to enable dynamic changes to graph function