dont need R for plotting anymore!
added random number seed parameter
added main to plot.py; fixed plotting a bit