made it possible to plot specific increments of R
plotted useful plots and added selectable output format