Added graph, settings not working yet
added getvalue and used it in summation