Added graph scaling

Two slider to control the x and y axis scale. also updated the number of
points to be equal to the number of pixels wide the screen is