Added Graphing PHP Function