Fixed slider lock bug, changed the graph to generate based on the values in the sliders